Mollie\WooCommerce\Shared\GatewaySurchargeHandler A

Total Complexity 52
Dependencies 3
Dependents 2
Total lines 294
Lines of code 240
Logical lines of code 141
Comment lines 7
Methods 16
Properties 2

Methods 16

Method Rating Maintainability Complexity Lines of code
updateSurchargeOrderPay()
A
48 7 34
updateSurchargeCheckoutBlock()
S
46 6 43
add_engraving_fees()
S
52 7 26
addSurchargeFeeProductPage()
S
56 5 18
chosenGateway()
S
61 4 13
canProcessOrder()
S
62 4 12
canProcessGateway()
S
63 4 11
enqueueSurchargeScript()
S
60 3 14
orderRemoveFee()
S
61 3 12
surchargeActions()
S
56 1 21
isMollieGateway()
S
77 2 3
gatewaySettings()
S
67 2 8
__construct()
S
72 1 5
setHiddenOrderId()
S
76 1 5
orderAddFee()
S
66 1 9
surchargeFeeOption()
S
73 1 6